<script lang="ts" setup>
	import { reactive, ref } from "vue";
	import {
		useRouter
	} from 'uni-mini-router'
	import {
		getCurrentInstance
	} from 'vue'
	import {
		onShow,
		onHide,
		onLoad,
		onReachBottom
	} from '@dcloudio/uni-app'
	import {
		userStore
	} from '@/pinia';
	let router = useRouter()
	const userStoreInfo = userStore();
	const {
		proxy,
	} = getCurrentInstance()
	let navTit = ref()
	onLoad((option) => {
		console.log(option.name);
		navTit.value = option.name
		uni.setNavigationBarTitle({
			title: option.name
		})
	})
</script>
<template>
	{{ navTit }}
</template>
<style lang="scss">

</style>